7.4 Sample configuration for Entra

This section contains a sample myid.production.json file set up for Microsoft Entra that you can use as a starting point for your own configuration. Copy this information into the myid.production.json file in the SSRPOID folder. You may have to create this file, or replace the contents of an existing myid.production.json file; by default, the SSRPOID folder is in the following location:

C:\Program Files\Intercede\MyID\SSRP\SSRPOID

7.4.1 Configuring the file for your own settings

You must replace the following settings with your own values:

See section 7.3, Configuring the Self-Service Request Portal for external identity providers for more information about the content of this file.

7.4.2 Setting up redirect URIs

You must also make sure that you add the Redirect URI for the provider in the Microsoft Entra portal.

In this case, the Name is Entra, and it is included in the SSRPOID web application, so if your server name is myserver.example.com, the redirect URI would be:

https://myserver.example.com/SSRPOID?name=Entra

See section 7.2, Configuring your external identity provider for details.

7.4.3 Example myid.production.json file for Microsoft Entra

Copy
{
  "Providers":[
    {
      "Name":"Entra",
      "DisplayName":"Login with your Microsoft account",
      "Url":"https://login.microsoftonline.com/b785ece2-47dd-4eb6-acee-be595bbce9b3/v2.0",
      "Enabled":true,
      "Type":"oid",
      "Default":true,
      "Scopes":"openid email profile",
      "RequiredAudience":"",
      "RequiredIssuer":"",
      "ClientId":"4d58a40d-d199-46d7-9da5-f363b071fc44",
      "ClientSecret":"AQAAANCMnd8BFdERjHoAwE/C [...] JwWwaKXWoS3i+ulxtmjVQyudpQ==",
      "RetrieveUserInfo":true,
      "Mappings":[
        {
          "Match":{
            
          },
          "Attributes":[
            {
              "From":"oid",
              "To":"XuSYSExternalReferenceId1",
              "Mandatory":true,
              "Unique":true,
              "Update":true
            },
            {
              "From":"preferred_username",
              "To":"Email",
              "LookupExisting":true,
              "LdapSync":true
            },
            {
              "From":"name",
              "To":"FullName"
            },
            {
              "From":"family_name",
              "To":"Surname",
              "Update":true
            },
            {
              "From":"given_name",
              "To":"FirstName"
            },
            {
              "From":"",
              "To":"Roles",
              "Static":"<role name='Derived Credential Owner' scope='1'/><role name='Cardholder' scope='1'/>"
            },
            {
              "From":"",
              "To":"GroupName",
              "Static":"Imported From Microsoft"
            },
            {
              "From":"",
              "To":"ParentGroupName",
              "Static":"Derived Credentials"
            }
          ]
        }
      ]
    }
  ]
}